<?php
$arr  = array( "one" ,  "two" ,  "three" );
//reset ( $arr );
//while (list(,  $value ) =  each ( $arr )) {
//    echo  "Value:  $value <br>\n" ;
//}

foreach ( $arr  as  $value ) {//当 foreach 开始执行时，数组内部的指针会自动指向第一个单元
    //遍历数组
    echo  "Value:  $value <br />\n" ;
}
?>